package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RabbbitMQController {
    @RequestMapping("/demo")
    public String demo(){
        return "demo";//并非是@ResponseBody返回，直接返回字符串，就会跳转到html页面
    }
}
